package com.chandon.juc;

import java.util.concurrent.TimeUnit;

/**
 * 描述
 *
 * @author Dong
 */

public class SleepThread {

    public static void sleep(int time){

        try {
            TimeUnit.SECONDS.sleep(time);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

    }

}
